<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
    </h:head>
    <h:body>
        <ui:composition template="../../admin/adminTemplate.xhtml">
            
            <ui:define name="title">
                Admin Schema
            </ui:define>
        <ui:define name="page">
            <h1 class="pageheader">Skapa en ny lunchrätt</h1>
        <br />
        <h:form class="frm">
            <h:messages style="color:red;margin:8px;" />
           
            Namn: <h:inputText value="#{createLunch.lunchName}"></h:inputText>
            Beskrivning: <h:inputText value="#{createLunch.lunchDescription}"></h:inputText>
            Pris: <h:inputText value="#{createLunch.lunchPrice}"></h:inputText>
            
            <h:commandButton value="Spara" action="#{createLunch.add()}"></h:commandButton>
        </h:form>
        
        </ui:define>
        </ui:composition>
    </h:body>

</html>

